package ejbPart.entity.bankAccount;

import java.io.Serializable;

public class AccountPK implements Serializable {

    public String accountId;



    public AccountPK() {}

    public AccountPK(String accountId) {
        this.accountId = accountId;
    }

    @Override
    public String toString() {
        return accountId;
    }

    @Override
    public int hashCode() {
        return accountId.hashCode();
    }

    @Override
    public boolean equals(Object account) {
        return ((AccountPK) account).accountId.equals(this.accountId);
    }
}
